﻿using AVCUMPlatform.BLL.Interface;
using AVCUMPlatform.DAL;
using AVCUMPlatform.DAL.Implement;
using AVCUMPlatform.DAL.Interface;
using AVCUMPlatform.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVCUMPlatform.BLL.Implement
{
    public class MessageBLL : BaseBLL<Messagequeues>,IMessageBLL
    {
        /// <summary>
        /// 消息DAL
        /// </summary>
        private IMessageDAL _messageDAL;
        private IMessageDAL messageDAL
        {
            get
            {
                if (_messageDAL == null)
                {
                    _messageDAL = DALContainer.Resolve<IMessageDAL>();
                }
                return _messageDAL;
            }
        }
        public override void SetDal()
        {
            Dal = messageDAL;
        }
        
    }
}
